package com.itsu.service;

import com.github.pagehelper.PageInfo;
import com.itsu.domain.Catalog;
import com.itsu.domain.User;

import java.util.List;

public interface CatalogService {

    void save(Catalog catalog);

    void delete(Catalog catalog);

    void update(Catalog catalog);

    Catalog findById(String id);

    List<Catalog> findAll();

    PageInfo<Catalog> findAll(int pageNum, int pageSize);
}
